package com.bjsxt.source;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * 读取我们配置文件里面的output
 */
public interface MessageSource {

    @Output("output1")
    MessageChannel output1() ;


    @Output("output2")
    MessageChannel output2() ; // 演示事务消息的发送


    @Output("output3")
    MessageChannel output3() ;
}
